package com.prs.crm.service.ca.work.impl;

import java.util.List;

import com.prs.crm.dao.ca.work.DemandInventoryDao;
import com.prs.crm.domain.ca.work.DemandInventory;
import com.prs.crm.service.ca.work.DemandInventoryService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class DemandInventoryServiceImpl extends BaseServiceImpl<DemandInventory, DemandInventoryDao> implements DemandInventoryService{

	@Override
	public List<DemandInventory> getAllDemandInventory() {
		return this.getDao().getAllDemandInventory();
	}

	@Override
	public DemandInventory getDemandInventoryByName(String diArticleName) {
		return this.getDao().getDemandInventoryByName(diArticleName);
	}

	@Override
	public DemandInventory getDemandInventoryByStandard(String diArticleStandard) {
		return this.getDao().getDemandInventoryByStandard(diArticleStandard);
	}

	@Override
	public DemandInventory getDemandInventoryByTypeId(int diArticletypeId) {
		return this.getDao().getDemandInventoryByTypeId(diArticletypeId);
	}

	@Override
	public DemandInventory getDemandInventoryByNames(String name) {
		return this.getDao().getDemandInventoryByNames(name);
	}

}
